package fr.kaamelot.tools.ant.logic;

import org.apache.tools.ant.taskdefs.Property;

import com.bnpparibas.tools.ant.logic.select.SelectTask;


/**
 * @author V_Thoule
 *
 * To change this generated comment edit the template variable "typecomment":
 * Window>Preferences>Java>Templates.
 * To enable and disable the creation of type comments go to
 * Window>Preferences>Java>Code Generation.
 */
public class Select_test {

	public static void main(String[] args) throws Exception {
		SelectTask selectTask = new SelectTask();
		selectTask.setMessage("Test");

		Property p1 = new Property();
		p1.setName("P1");
		p1.setValue("Param 1");
		selectTask.addParam(p1);
			
		Property p2 = new Property();
		p2.setName("P2");
		p2.setValue("Param 2");
		selectTask.addParam(p2);
		
		selectTask.setProperty("p3");
		selectTask.setExclusive("true");
		selectTask.execute();
	}

}

